package com.zhang.service;

import com.github.pagehelper.PageInfo;
import com.zhang.domain.*;
import com.zhang.query.PetQuery;

import java.util.List;

/**
 * @author zh
 * @create 2022-02-21 11:52
 */
public interface IPetService {
    //基础查询
    void save(Pet d);

    void update(Pet d);

    void delete(Long id);

    PageInfo<Pet> queryData(PetQuery query);

    List<PetType> selAllPetType();

    PetDetail getPetDetail(Long id);

    Pet loadById(Long id);

    void updateState(long id);

    void addOrder(PetAcq petAcq);
}
